<template>
	<div class="goods-list">
		<goods-list-item class="goods-item" v-for="(goodsItem, index) in goodsList.list" :key="index" :goodsItem="goodsItem"></goods-list-item>
	</div>
</template>

<script>
	
	import GoodsListItem from './GoodsListItem'
	
	export default {
		name: 'GoodsList',
		components: {
			GoodsListItem
		},
		props: {
			goodsList: {
				type: Object,
				default: {}
			}
		},
		data() {
			return {
				
			}
		},
		
		
	}
</script>

<style>
	.goods-list {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-around;
	}
</style>
